from typing import *


class Solution:
    def evenOddBit(self, n: int) -> List[int]:
        i = 0
        ans = [0, 0]
        while n > 0:
            ans[i] += n & 1
            i = (i + 1) % 2
            n >>= 1
        return ans


class Solution:
    def evenOddBit(self, n: int) -> List[int]:
        mask = 0x55555555
        return [(n & mask).bit_count(), (n & (mask << 1)).bit_count()]


mask = 0x55555555
print(mask)
SUSPENDED
